package com.dfrz.household.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dfrz.household.bean.ServerPerson;

import java.util.List;

public interface ServerPersonMapper extends BaseMapper <ServerPerson> {
    int deleteByPrimaryKey(Integer serid);

    int insert(ServerPerson record);

    int insertSelective(ServerPerson record);

    ServerPerson selectByPrimaryKey(Integer serid);

    int updateByPrimaryKeySelective(ServerPerson record);

    int updateByPrimaryKey(ServerPerson record);

    ServerPerson getUserBysername(String sername);
    List <ServerPerson> getAllserverpersons();
    ServerPerson getServerpersonCompanyById(Integer serid);

}